package com.xmtlxx.system.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 标签与检查项关联视图对象 sys_tag_checkitem
 *
 * @author xmtlxx
 * @date 2022-04-26
 */
@Data
@ApiModel("标签与检查项关联视图对象")
@ExcelIgnoreUnannotated
public class SysTagCheckitemVo {

    private static final long serialVersionUID = 1L;

    /**
     * tagId
     */
    @ExcelProperty(value = "tagId")
    @ApiModelProperty("tagId")
    private String tagId;

    /**
     * 关联的检查项目ID
     */
    @ExcelProperty(value = "关联的检查项目ID")
    @ApiModelProperty("关联的检查项目ID")
    private Long itemId;

    /**
     * 类型（type，item）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "t=ype，item")
    @ApiModelProperty("类型（type，item）")
    private String flag;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    @ApiModelProperty("主键ID")
    private String tid;


}
